<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
		<%@taglib prefix="s"  uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="css/common.css" type="text/css" />
<script type="text/javascript" charset="utf-8" src="ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript">
window.UEDITOR_HOME_URL = "ueditor/";
</script>
<title></title>
</head>
<body>
<%
//将DocType查询到session中保存
//new com.system.action.DocTypeAction().queryAll();
%>
	<div id="man_zone">
		<form action="user_update.action" method="post">
		<input type="hidden" name="user_id"  value="${sessionScope.user.user_id }" />
			<table class="dataintable">
				<caption>修改用户信息</caption>
				<tr>
					<th width="10%">用户名</th>
					<td><input type="text" name="username"  value="${sessionScope.user.username }" disabled style="width: 50%"/>
					<font color="red"><s:property value="message"/></font>
					</td>
				</tr>
				<tr>
					<th width="10%">密码</th>
					<td>
					<input type="password" name="password"  value="${sessionScope.user.password }" style="width: 50%"/>
					</td>
				</tr>
				<tr>
					<th width="10%">E-mail</th>
					<td>
						<input type="text" name="email"  value="${sessionScope.user.email }"  style="width: 50%"/>
					</td>
				</tr>
				<tr>
					<th width="10%">电话</th>
					<td>
						<input type="text" name="phone"   value="${sessionScope.user.phone }"  style="width: 50%"/>
					</td>
				</tr>
				<tr>
					<th width="10%">真实姓名</th>
					<td>
						<input type="text" name="truename" value="${sessionScope.user.truename }"  style="width: 50%"/>
					</td>
				</tr>
				<tr>
					<th>备注</th>
					<td width="90%">
						<script id="container" name="note"  type="text/plain">
   							 ${sessionScope.user.note } 
						</script>
						<script type="text/javascript">
						    var editor = UE.getEditor('container')
						</script>
					</td>
				</tr>
				<tr>
					<td colspan="2" align="center">
						<font color="red"><s:property value="message"/></font>
						<input type="submit" class="button blue medium" value="保存" />&nbsp;&nbsp;&nbsp;&nbsp;
						<input type="reset" class="button blue medium" value="重置" />
					</td>
				</tr>
			</table>
			<br/><br/><br/>
		</form>
	</div>
</body>
</html>